<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>stapes例子06_01</title>
    <script type="text/javascript" src="../lib/stapes-0.8.1/stapes.js"></script>
</head>
<body>
<h1>你好!!!</h1>

<script type="text/javascript">

    var Module = Stapes.extend({
        name: ['javascript','python'],
        sayName: function(i){
            console.log( "hello" + this.name[i] +"!" );
        }
    });





    var module = new Module();
    module.sayName(1); // 'alice'

</script>


</body>
</html>